package com.ruge.core.enums;

import com.ruge.core.domain.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author ruge.wu
 * @since 2022/2/11 10:37
 */
@Getter
@AllArgsConstructor
public enum IntegralEnum implements BaseEnum {
    /**
     * 积分类型
     */
    SIGN("SIGN", 1, "签到"),
    ;
    private String code;
    private Integer value;
    private String desc;

    @Override
    public String toString() {
        return code + ":" + desc;
    }
}
